package com.wicket.okrframework.biz.service.dto.common;

import com.wicket.okrframework.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BeginMembInfoDto
 * @使用场景
 */
@Data
public class BeginMembInfoDto extends BaseDto implements Serializable {

  /**
   * 身份人员资料ID
   */
  @ApiModelProperty("身份人员资料ID")
  private String originalStafInfoId;

  /**
   * 身份人员编号
   */
  @ApiModelProperty("身份人员编号")
  private String roleMemberCode;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BeginMembInfoDto that = (BeginMembInfoDto) o;
      return  originalStafInfoId == that.originalStafInfoId&&roleMemberCode == that.roleMemberCode;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), originalStafInfoId,roleMemberCode);
    }

}
